numbers = [1, 0, 4, 5, 3, 2, 8, 9, 6, 7]
max = numbers[0]
min = numbers [0]
for num in numbers:
    if num > max:
        max = num
    if num < min:
        min = num
print(f"max is {max}, min is {min}")